<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>회원가입</title>
<link href="<%=request.getContextPath() %>/css/style.css" rel="stylesheet" type="text/css"  />
</head>
<body>
<div>
	<h2>회원 가입</h2>
	<s:form action="userCreateAction" validate="true">
		<span>아이디:  <s:textfield label="아이디" id="userid" name="user.userId" value="%{user.userId}"   theme="simple" /></span>
		<span>비밀번호:<s:password label="비밀번호" id="userpw" name="user.userPw" value="%{user.userPw}"   theme="simple" /></span>
		<span>이름:<s:textfield label="이름" name="user.userName" value="%{user.userName}"   theme="simple" /></span> 
		
		<s:submit value="회원가입" />
	</s:form>
</div>
</body>
</html>